package com.yjht.online.generate.impl.org.plat.kd;


import com.yjht.online.constants.PathConstant;

import com.yjht.online.generate.impl.org.OrgProcessorSqlMould;


public class OrgGenerateProccesorKd extends OrgProcessorSqlMould {

    final String sqlModel = "INSERT INTO `lrd_org` (`CORP_CD`, `ORG_CD`, `ORG_RELA_TYPE`, `ORG_NAME`, `ORG_PCD` , `ORG_FLAG`, `ORG_VFLAG`, `ORG_DESC`, `LEVELID`, `CRT_DATE` , `MTN_DATE`, `ORG_ABB`, `WD_ID`, `ORG_TYPE`, `WORKING_TIME_NOON` , `WORKING_TIME_MORNING`) VALUES ('${corpCd}', '${orgCd}', '${orgRelaType}', '${orgName}', '${orgPcd}' , '${orgFlag}', '${orgVflag}', '${orgDesc}', '${levelid}', '${crtDate}' , '${mtnDate}', '${orgAbb}', '${wdId}', '${orgType}', '${workingTimeNoon}' , '${workingTimeMorning}');";


    @Override
    protected String getSqlTemplate() {
        return sqlModel;
    }

    @Override
    protected String getOutPutPath() {
        return  PathConstant.KD_PATH;
    }

    @Override
    protected String getFileName() {
        return "orgInfo.sql";
    }
}
